package com.hzw.saas.common.flow.service;

import com.hzw.saas.common.flow.exception.FlowServiceHandleException;
import com.hzw.saas.common.flow.pojo.model.FlowInstance;
import com.hzw.saas.common.flow.pojo.model.FlowProcessRecord;

/**
 * @Description
 * @Date 2021/8/5 12:40 下午
 * @Created by sonam
 */
public interface FlowActionHandle {

    /**
     * 处理业务
     *
     * @param flowInstance
     * @param flowProcessRecord
     * @throws FlowServiceHandleException
     */
    void handle(FlowInstance flowInstance, FlowProcessRecord flowProcessRecord) throws FlowServiceHandleException;

}
